You can add additional steps to an existing script by recording them. New steps are added to the end of the script or to the line below a selected script step. You can also manually add steps, but recording the new steps ensures actions are performed on the correct windows and controls.
1. Open the script to add steps to.
2. Choose Script > Record Into.
The Record Into dialog box opens.
3. Select the Application you want to record against.
Click New to add an application. See Adding applications.
4. Select Connect to running application to record against an instance of a Windows application running on the test computer.
Note: This option is not available if a Windows 8 application is selected.
5. Select a recording option.
6. Click Record.
You are prompted to run the current steps before recording.
Note: If repository variables are defined for the application version, you may be prompted to enter variable values before you begin recording. See Entering repository variable values during recording and playback.
7. Click Yes.
The script runs. The Recording toolbar opens when the script finishes running.
8. Navigate through the application, performing the actions you want to record.
9. Click the Stop Recording toolbar button.
The Repository Changes dialog box opens. New or changed windows and controls are displayed.
10. Click Save to save the repository changes.
The script is processed and the actions are added to it.